package com.ruixue.gatewayserver.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * fileName:SsoMemberService
 * description:
 * author: LJV
 * createTime:2021/4/30 16:16
 * version:1.0.0
 */
@FeignClient("ssoService")
public interface SsoMemberService {

    /**
     * 验证token
     *
     * @param accessToken
     * @return
     */
    @GetMapping("/memberLogin/checkAccessToken")
    boolean chechAccessToken(@RequestParam("accessToken") String accessToken);
}